package model

const (
	LoginMsgType            = "0"
	ResisterMsgType         = "1"
	LoginResMsgType         = "2"
	RegisterResMsgType      = "3"
	NotifyUserStatusMsgType = "4"
)

const (
	UserOnline = iota
	UserOffline
	UserBusy
)

type Message struct {
	//消息类型
	Type string `json:"type"`
	//消息
	Data string `json:"data"`
}
